From 1407eddc80342975d6b9b6c08f3874413f5febb0 Mon Sep 17 00:00:00 2001 From: "awilliam@xenbuild.aw" Date: Tue, 8 Aug 2006 14:42:34 -0600 Subject: [PATCH] [IA64] Remove scheduler heartbeat Signed-off-by: Daniel Miles --- xen/arch/ia64/xen/domain.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/xen/arch/ia64/xen/domain.c b/xen/arch/ia64/xen/domain.c index 7f34eccc73..86ff7d85f5 100644 --- a/xen/arch/ia64/xen/domain.c +++ b/xen/arch/ia64/xen/domain.c @@ -145,16 +145,6 @@ void context_switch(struct vcpu *prev, struct vcpu *next) /* Note: ia64_switch_to does not return here at vcpu initialization. */ //cpu_set(smp_processor_id(), current->domain->domain_dirty_cpumask); - -// leave this debug for now: it acts as a heartbeat when more than -// one domain is active -{ -static long cnt[16] = { 50,50,50,50,50,50,50,50,50,50,50,50,50,50,50,50}; -static int i = 100; -int id = ((struct vcpu *)current)->domain->domain_id & 0xf; -if (!cnt[id]--) { cnt[id] = 500000; printk("%x",id); } -if (!i--) { i = 1000000; printk("+"); } -} if (VMX_DOMAIN(current)){ vmx_load_all_rr(current); -- 2.30.2